file(GLOB_RECURSE RTC_BASE_SRC "${CMAKE_CURRENT_SOURCE_DIR}/*.c" "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/*.cc")

if(NOT WIN32)
    list(REMOVE_ITEM RTC_BASE_SRC "${CMAKE_CURRENT_SOURCE_DIR}/synchronization/rw_lock_win.cc")
endif()

set(RTC_BASE_SRC ${RTC_BASE_SRC} PARENT_SCOPE)